package cn.yilongquan.service;

import cn.yilongquan.system.domain.Param;
import cn.yilongquan.system.query.ParamQuery;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface ParamService {
    List<Param> findPage(ParamQuery query);
    void add(Param param);
    void update(Param param);
    void delete(Long id);
    void deleteBatch(Long[] ids);
    int total(ParamQuery query);

    // 新增：带图片上传的添加方法
    void addWithImg(Param param, MultipartFile imgFile) throws Exception;
}